package com.sports.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sports.entity.Judge;
import com.sports.entity.JudgeItemDTO;
import com.sports.service.JudgeService;
import com.sports.mapper.JudgeMapper;
import org.junit.jupiter.api.extension.RegisterExtension;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
* @author LZL
* @description 针对表【t_judge】的数据库操作Service实现
* @createDate 2024-03-21 20:55:04
*/
@Service
public class JudgeServiceImpl extends ServiceImpl<JudgeMapper, Judge>
    implements JudgeService{

    @Resource
    JudgeMapper judgeMapper;

    @Override
    public List<JudgeItemDTO> getJudgeItemList(Integer judgeId) {
        return judgeMapper.getJudgeItemList(judgeId);
    }
}




